package com.guxing.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.math.BigDecimal;

/**
 * json方式配置
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "user4")
public class UserCustom4 {

    private Integer id;

    private String name;
}
